home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MATHS / PLPLOT / PLPLOT.ZIP / sys / dos / msc / readme.old < prev    next >
Encoding:
Text File  |  1994-05-25  |  3.3 KB  |  76 lines

  1. 5-1-91
  2. Geoffrey Furnish
  3.  
  4. This directory contains files for building PLPLOT on DOS.  Unfortunately, 
  5. as I start this project, I do not have a decent make that works on DOS, and
  6. won't be able to get one till July.  So, I have created a major league batch
  7. file controler, named plmake.bat.
  8.  
  9. Just run plmake.bat with no options, and it will tell you a little about 
  10. itself.
  11.  
  12. Basically, the steps for building PLPLOT on DOS are just the same as for
  13. any other platform, but the lack of a makefile adds some unncessary
  14. complexity to the process.
  15.  
  16. Copy over the files from their source directories to the tmp directory.
  17.     plmake mainlinks
  18.     plmake stublinks
  19.     
  20. Build the libraries with:
  21.     plmake mainlib
  22.     plmake stublib
  23.  
  24. Build the metafile rendering utility with:
  25.     plmake render
  26.  
  27. To build the fonts, go into the fonts directory and compile the files
  28. and run stndfont and xtndfont.    Note that you will need to edit plfontld.c
  29. to get it to look in the place where you will want to keep the fonts.
  30.  
  31. You can also build the example programs with:
  32.     plmake cdemos
  33.     plmake fdemos
  34.     
  35. Finally, plmake.bat contains other options which I installed to help me
  36. in the development of the DOS software.  You can look at this and use it
  37. for further development of things like the dosvga driver, or the metafile
  38. writer, or you can install similar features for dealing with other things
  39. you would like to enhance.
  40.  
  41. Note:  I used the Microsoft QuickC compiler for this port, so dosvga makes
  42. calls to MS library functions, and uses some MS language extensions.  If you
  43. have some other compiler, you may need to rework the dosvga driver to match
  44. better with your compiler's library.
  45.  
  46. Also Note:  Since I always prefer to use OS/2 over DOS, you will find all 
  47. the code for the DOS version in the OS/2 directory.  This is possible because
  48. high level language programming is virtually identical on DOS and OS/2.
  49. Moreover, since OS/2 provides virtual memory, multitasking and process 
  50. protection, it is a greatly superior development environment, compared to
  51. DOS.
  52.  
  53. An example of why I feel this way can be seen when you run the example
  54. programs.  If you use /Zi (to include source info for debugging with MS
  55. Codeview), you will observe that x13c does not produce fully formed cross
  56. hatching.  This is because it runs out of memory, I believe.  You can however
  57. tell x13c to direct output to the metafile, and then it will correctly form
  58. the entire image.  (You view it with plrender).
  59.  
  60. For the interested:  My idea of the best way to use PLPLOT on PC systems
  61. is the following.
  62.     For small programs, go ahead and use DOS, if that's what you
  63.     prefer.  But be prepared for major league difficulties with 
  64.     memory restrictions.  You will probably need to turn off debugging
  65.     info in order to do anything serious with PLPLOT.  That might be
  66.     acceptable if you're not working on developments to PLPLOT itself.
  67.  
  68.     For "real work", I much prefer to use OS/2.  Since I have not yet
  69.     written a PM driver, I direct the output to a metafile, and then
  70.     switch to the DOS box to run the plrender utility.  For the kinds
  71.     of problems I work on which usually involve long, batch-type,
  72.     calculations, this seems to work well, and provides the ability to
  73.     let the computation run in the background without losing the ability
  74.     to see/review the plots at will.  It's not interactive, but for the
  75.     sorts of things I use PLPLOT for, this is actually preferable.
  76.